﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="noticeinfo.aspx.cs" Inherits="lgweb.inside.information.noticeinfo" %>

<%@ Register src="~/control/inside/header.ascx" tagname="header" tagprefix="uc1" %>
<%@ Register src="~/control/inside/pager.ascx" tagname="pager" tagprefix="uc2" %>
<%@ Register src="~/control/inside/footer.ascx" tagname="footer" tagprefix="uc3" %>
<%@ Register src="~/control/inside/Usermenu.ascx" tagname="Usermenu" tagprefix="uc4" %>
<%@ Register src="~/control/inside/menu/information.ascx" tagname="office" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>信息专栏 -龙院内部工作平台</title>
    <link href="/css/inside/base.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <uc1:header ID="header1" runat="server" TagIndex="4" />
    <div class="content clear">
        <div class="con231 g-mr-18">
            <uc5:office ID="office1" runat="server" TagIndex="<%#_cate%>"/>
            <uc4:Usermenu ID="Usermenu1" runat="server" />
        </div>
        <div class="con951">
            <div class="box-red">
                <p class="b-r-top"></p>
                <div class="b-r-con">
                    <div class="g-here">当前位置：<a href="/inside/index.aspx">首页</a> > <a href="/inside/information/list.aspx">信息专栏</a> > <%=_cateName%></div>
                     <div class="g-search">
                       <label>关键字:</label><input type="text" value="" id="txtKeyword" class="text" runat="server" />
                        <input type="button" value="搜索" class="g-btn-red" onclick="search();" />
                    </div>
                    <div class="g-con-red">
                        <ul class="ico4">
                             <asp:Repeater runat="Server" ID="rptNoticeList">
                                <ItemTemplate>                                   
                                       <li><span class="g-fr">[<%#Eval("dept_name")%> <%#DateTime.Parse(Eval("pub_date").ToString()).ToString("yyyy-MM-dd")%>]</span><a href="#" onclick="this_opennotice('<%#Eval("content")%>');" ><%#Eval("title")%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>                             
                        </ul>
                    </div>

                    <div>
                        <uc2:pager ID="pager1" runat="server" />
                    </div>
                </div>
                <p class="b-r-bottom"></p>
            </div>
        </div>
    </div>
    <uc3:footer ID="footer1" runat="server" />
    <input type="hidden" id="hdOADomain" runat="server" value="lgfyoa"/>
    <input type="hidden" id="hdnCate" value="1" runat="server" />
    </form>
</body>
</html>
<script type="text/javascript">
    var _oadomain = "/" + document.all.hdOADomain.value;
    if (_oadomain == '')
        _oadomain = '/lgfyoa';
    function this_opennotice(pID) {
        var url = '';
        var fs = 'left=0,top=0,titlebar=no,toolbar=no,status=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,dependent=yes';
        url = _oadomain + '/notice/ftfy_notice_board.aspx?id=' + pID + '&class=';
        window.open(url, '_blank', fs);
    }

    function search() {
        var cate = document.getElementById("hdnCate").value;
        window.location.href = "/inside/information/noticeinfo.aspx?keyword=" + encodeURIComponent(document.getElementById("txtKeyword").value) + "&cate=" + cate;
    }
</script>

